'Declaration
<NotNullAttribute()> Public Function FromFile( _ ByVal filePathAndName As String _ ) As ValueResult(Of TValue)
'Usage
Dim instance As StreamLoader(Of TValue) Dim filePathAndName As String Dim value As ValueResult(Of TValue) value = instance.FromFile(filePathAndName)
[NotNull()] public ValueResult<TValue> FromFile( string filePathAndName )
[NotNull()] public: ValueResult<TValue^>^ FromFile( String^ filePathAndName )
Parameters
- filePathAndName
- The path and name of the file to load the value from.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
Returns value result with the value loaded.
This method never returns null
(Nothing
in Visual Basic).